package com.eagle.coders.core.exceptions;

/**
 * 
 * @author Anees
 *
 */
public class RegularExpressionException extends ValidationException {
   
	private static final long serialVersionUID = 1L;

	private String regularExpression = null;

    public RegularExpressionException() {
        super();
    }

    public RegularExpressionException(String errorMessageLocation, String messageKey, String errorCode, String module, String subModule, Object errorData, Object[] msgArgs) {
        super(errorMessageLocation, messageKey, errorCode, module, subModule, errorData, msgArgs);
    }

    public RegularExpressionException(String msg, String errorMessageLocation, String errorCode, String module, String subModule, Object[] msgArgs) {
        super(msg, errorMessageLocation, errorCode, module, subModule, msgArgs);
    }

    public RegularExpressionException(String msg, String errorMessageLocation, String messageKey, String errorCode, String module, String subModule, Object errorData, Object[] msgArgs) {
        super(msg, errorMessageLocation, messageKey, errorCode, module, subModule, errorData, msgArgs);
    }

    public RegularExpressionException(String msg, String errorMessageLocation, String messageKey, String errorCode, String module, String subModule, Object[] msgArgs) {
        super(msg, errorMessageLocation, messageKey, errorCode, module, subModule, msgArgs);
    }

    public RegularExpressionException(String msg, String property) {
        super(msg, property);
    }

    public RegularExpressionException(String msg, Throwable cause, String errorMessageLocation, String errorCode, String module, String subModule, Object[] msgArgs) {
        super(msg, cause, errorMessageLocation, errorCode, module, subModule, msgArgs);
    }

    public RegularExpressionException(String msg, Throwable cause, String errorMessageLocation, String messageKey, String errorCode, String module, String subModule, Object errorData, Object[] msgArgs) {
        super(msg, cause, errorMessageLocation, messageKey, errorCode, module, subModule, errorData,
                msgArgs);
    }

    public RegularExpressionException(String msg, Throwable cause, String errorMessageLocation, String messageKey, String errorCode, String module, String subModule, Object[] msgArgs) {
        super(msg, cause, errorMessageLocation, messageKey, errorCode, module, subModule, msgArgs);
    }

    public RegularExpressionException(String msg, Throwable cause) {
        super(msg, cause);
    }

    public RegularExpressionException(String msg) {
        super(msg);
    }

    public RegularExpressionException(Throwable cause, String errorMessageLocation, String messageKey, String errorCode, String module, String subModule, Object errorData, Object[] msgArgs) {
        super(cause, errorMessageLocation, messageKey, errorCode, module, subModule, errorData, msgArgs);
    }

    public RegularExpressionException(Throwable cause, String errorMessageLocation, String messageKey, String errorCode, String module, String subModule, Object[] msgArgs) {
        super(cause, errorMessageLocation, messageKey, errorCode, module, subModule, msgArgs);
    }
    
    public RegularExpressionException(String msg, String property, String regularExpression) {
        super(msg, property);
        this.regularExpression = regularExpression;
    }
    
    public RegularExpressionException(Throwable cause) {
        super(cause);
    }

    public String getRegularExpression() {
        return regularExpression;
    }

    public void setRegularExpression(String regularExpression) {
        this.regularExpression = regularExpression;
    }
}
